<?php
namespace Home\Controller;
use Common\Controller\HomeBaseController;
use Common\Model\ConfigModel;
use Think\Model;
use Common\Model\ProDaiModel;
use Common\Model\MemberModel;
use Think\Upload;
use Common\Lib\Yeepay;

class MemberController extends HomeBaseController {
	protected function _initialize() {
		parent::_initialize();
		if (! MID) { // 还没登录 跳转到登录页面
			if (IS_POST) $this->error('登录超时, 请重新登录');
			else $this->redirect(C('LOGIN_URL'));
		}
	}
}